package com.sea.finance.service;


import com.sea.finance.entity.Fund;
import com.sea.finance.entity.Inventory;

import java.io.InputStream;
import java.text.ParseException;
import java.util.List;

/**
 * @author 陈鸿飞
 */
public interface FundService {

    /**
     * 查询指定
     * @param fund
     * @return
     */
    List<Fund> findByCnd(Fund fund);

    /**
     * 新增
     * @param fund
     * @return
     */
    int save(Fund fund);
    /**
     * 导入SKU
     * @param inputStream
     * @param fileName
     * @return
     * @throws Exception
     */
    void importFund(InputStream inputStream, String fileName) throws Exception;
    /**
     * 分组
     * @return
     */
    List<Fund> findByShop();

    Fund findTotalByShop(Fund fund);

    Fund findByOrderId(String fundOrderId);
}
